<?php
class user_detailComponents extends sfComponents{
    public function executeListPaidDate(){
        $this->timePaids = TrathuongPeer::getTimePaid($this->phone);
        if ($this->year == null){
            $this->year = $this->timePaids[0]['year'];
        }
        $this->contents = TrathuongPeer::getListPaided($this->phone,$this->year);
    }
}
?>